package com.jindy.module.questions.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 机器故障题库对象 t_questions
 * 
 * @author jindy
 * @date 2023-03-21
 */
public class Questions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String model;

    /** 机器型号 */
    @Excel(name = "机器型号")
    private String modelName;

    /** 种类（1除湿机 2干燥机 3升温机） */
    @Excel(name = "种类", readConverterExp = "1=除湿机,2=干燥机,3=升温机")
    private String machineType;

    /** 故障代码 */
    @Excel(name = "故障代码")
    private String faultCodes;

    /** 维修内容 */
    @Excel(name = "维修内容")
    private String repairContent;

    /** 机器正面照片 */
    @Excel(name = "机器正面照片")
    private String frontPhoto;

    /** 机器屏幕照片 */
    @Excel(name = "机器屏幕照片")
    private String screenPhotos;

    /** 机器主板照片 */
    @Excel(name = "机器主板照片")
    private String motherboardPhoto;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setMachineType(String machineType) 
    {
        this.machineType = machineType;
    }

    public String getMachineType() 
    {
        return machineType;
    }
    public void setFaultCodes(String faultCodes) 
    {
        this.faultCodes = faultCodes;
    }

    public String getFaultCodes() 
    {
        return faultCodes;
    }
    public void setRepairContent(String repairContent) 
    {
        this.repairContent = repairContent;
    }

    public String getRepairContent() 
    {
        return repairContent;
    }
    public void setFrontPhoto(String frontPhoto) 
    {
        this.frontPhoto = frontPhoto;
    }

    public String getFrontPhoto() 
    {
        return frontPhoto;
    }
    public void setScreenPhotos(String screenPhotos) 
    {
        this.screenPhotos = screenPhotos;
    }

    public String getScreenPhotos() 
    {
        return screenPhotos;
    }
    public void setMotherboardPhoto(String motherboardPhoto) 
    {
        this.motherboardPhoto = motherboardPhoto;
    }

    public String getMotherboardPhoto() 
    {
        return motherboardPhoto;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("model", getModel())
            .append("modelName", getModelName())
            .append("machineType", getMachineType())
            .append("faultCodes", getFaultCodes())
            .append("repairContent", getRepairContent())
            .append("frontPhoto", getFrontPhoto())
            .append("screenPhotos", getScreenPhotos())
            .append("motherboardPhoto", getMotherboardPhoto())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
